package com.study.algorithm.datastruct.tree;

import com.study.algorithm.datastruct.tree.model.AVLTree;
import com.study.algorithm.datastruct.tree.model.BinaryTree;

import java.util.List;

public interface AVlTreeOperate {

    public boolean isBalanceBinaryTree(BinaryTree binaryTree);

    public AVLTree buildBalanceBinaryTreeTroughWeight(List<Integer> integers);

    public AVLTree insertAVLTreeNodeThroughWeight(AVLTree rootNode, int weight);

    public AVLTree removeAVLTreeNodeThroughWeight(AVLTree rootNode, int romveData);
}
